home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xm / XmStringLineCount.z / XmStringLineCount
Encoding:
Text File  |  2001-04-17  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggLLLLiiiinnnneeeeCCCCoooouuuunnnntttt((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     XXXXmmmmSSSSttttrrrriiiinnnnggggLLLLiiiinnnneeeeCCCCoooouuuunnnntttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmSSSSttttrrrriiiinnnnggggLLLLiiiinnnneeeeCCCCoooouuuunnnntttt - A compound string function that returns
  10.           the number of separators plus one in the provided compound
  11.           string
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           #include <Xm/Xm.h>
  15.           iiiinnnntttt XXXXmmmmSSSSttttrrrriiiinnnnggggLLLLiiiinnnneeeeCCCCoooouuuunnnntttt(
  16.           XXXXmmmmSSSSttttrrrriiiinnnngggg ssssttttrrrriiiinnnngggg);
  17.  
  18.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  19.           This page documents Motif 2.1.
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.           XXXXmmmmSSSSttttrrrriiiinnnnggggLLLLiiiinnnneeeeCCCCoooouuuunnnnttttreturns the number of separators plus one
  23.           in the provided compound string. In effect, it counts the
  24.           lines of text.
  25.  
  26.           _s_t_r_i_n_g    Specifies the string
  27.  
  28.      RRRREEEETTTTUUUURRRRNNNN
  29.           Returns the number of lines in the compound string.  If
  30.           _s_t_r_i_n_g is empty, the function returns 1. If NULL is passed
  31.           into _s_t_r_i_n_g, the function returns 0 (zero).
  32.  
  33.      RRRREEEELLLLAAAATTTTEEEEDDDD
  34.           XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCrrrreeeeaaaatttteeee(3).
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 4/6/01)
  64.  
  65.  
  66.  
  67.